package com.ideaaedi.zoo.example.springboot.flowable.sharding.entity.dto;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 带有变量的任务模型
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
@Data
public class TaskWithVarDTO {
    
    private String id;
    
    private String name;
    
    private String description;
    
    private String parentTaskId;
    
    private String category;
    
    private String tenant;
    
    private String state;
    
    private Date dueDate;
    
    private String procDefId;
    
    private String taskDefKey;
    
    private String procInstId;
    
    private String executionId;
    
    private String owner;
    
    private String assignee;
    
    private Date startTime;
    
    private Date claimTime;
    
    private String claimedBy;
    
    private Date suspendedTime;
    
    private String suspendedBy;
    
    private Date endTime;
    
    private String completedBy;
    
    private Long duration;
    
    private String deleteReason;
    
    private String formKey;
    
    /**
     * 任务id
     */
    private List<ActHiVarinstDTO> variableList;
}
